package com.saac.imf.controller;

import com.saac.imf.service.MqService;
import com.saac.imf.service.ProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class WebSocketController {

    @Autowired
    private ProcessService processService;
    @Autowired
    private MqService mqService;

    @GetMapping("/index")
    public String index() throws Exception {
        return "index";
    }

    @GetMapping("/connMq")
    public String connMq() throws Exception {
        return mqService.connMq();
    }
}
